package cn.tedu.oop;

public class Test1_Extends {
    public static void main(String[] args) {
        new Zi().show();
    }
}
class Fu{
    int count = 10;
    int sum = 30;
}
class Zi extends Fu{
    int num;
    int sum = 20;

    public void show(){
        int sum = 10;
        System.out.println(sum);
        System.out.println(num);
        System.out.println(this.sum);
        System.out.println(super.count);
        System.out.println(super.sum);
    }
}